import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
import _createClass from "@babel/runtime/helpers/esm/createClass";
import _inherits from "@babel/runtime/helpers/esm/inherits";
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
import React from 'react';
import { Checkbox as CpaasCheckbox } from 'antd';

var Checkbox = /*#__PURE__*/function (_React$Component) {
  _inherits(Checkbox, _React$Component);

  var _super = _createSuper(Checkbox);

  function Checkbox() {
    _classCallCheck(this, Checkbox);

    return _super.apply(this, arguments);
  }

  _createClass(Checkbox, [{
    key: "render",
    value: function render() {
      return /*#__PURE__*/React.createElement(CpaasCheckbox, Object.assign({}, this.props, {
        checkedValue: 1,
        unCheckedValue: 0
      }));
    }
  }]);

  return Checkbox;
}(React.Component);

Checkbox.displayName = 'CpaasCheckbox';
export { Checkbox as default };